package com.cn.wx.tread;

public class Consumer extends Thread {

    private StoreHouse storeHouse;

    public Consumer(StoreHouse storeHouse) {
        this.storeHouse = storeHouse;
    }

    @Override
    public void run() {
        storeHouse.get();

    }
}
